﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BasicData.Domain.Source
{
    /// <summary>
    /// 商品表
    /// </summary>
    public class ProductModel
    {
        /// <summary>
        /// 商品主键
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 商品编号
        /// </summary>
        public string? ProductCode { get; set; }
        /// <summary>
        /// 商品名称
        /// </summary>
        public string? ProductName { get; set; }

        /// <summary>
        /// 生产批次
        /// </summary>
        public string? ProductionBatch { get; set; }

        /// <summary>
        /// 保质期（天）
        /// </summary>
        public int ShelfLife { get; set; }
        /// <summary>
        ///生产许可证号
        /// </summary>
        public string? LicenseNumber { get; set; }


        /// <summary>
        ///生产企业
        /// </summary>
        public string? Enterprise { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string? Creator { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }


        /// <summary>
        ///修改人
        /// </summary>
        public string? Updator { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }


        /// <summary>
        ///封面图
        /// </summary>
        public string? Url { get; set; }


    }
}
